from rest_framework.serializers import ModelSerializer
from . import models

class BannersModelSerializer(ModelSerializer):
    class Meta:
        model = models.Banner
        fields = ['image', 'name', 'note', 'link']
